import request from '@/utils/request'

export const fileUpload = (data: FormData) => {
  return request({
    url: '/api/file/upload',
    method: 'post',
    data
  })
}

export const fileUpload2 = (data: FormData) => {
  return request({
    url: '/api/file/upload2',
    method: 'post',
    data
  })
}

export const fileMerge = (data: FormData) => {
  return request({
    url: '/api/file/merge',
    method: 'post',
    data
  })
}
